package com.cskaoyan.bean.wx.detail.vo;

import com.cskaoyan.bean.wx.home.Attribute;
import lombok.Data;

import java.util.Date;

/**
 * 创建日期: 2022/05/09 15:04
 *
 * @author JinLu Zhou
 */
@Data
public class AttributeVo {
    Date addTime;
    String attribute;
    Boolean deleted;
    Integer goodsId;
    Integer id;
    Date updateTime;
    String value;



    public void set(Attribute attribute) {
        setAddTime(attribute.getAddTime());
        setAttribute(attribute.getAttribute());
        setDeleted(attribute.getDeleted());
        setGoodsId(attribute.getGoodsId());
        setId(attribute.getId());
        setUpdateTime(attribute.getUpdateTime());
        setValue(attribute.getValue());
    }
}
